Fix mouse pointer handling on multiple screens
authorAlexander Larsson <alexl@redhat.com>
Mon, 7 Dec 2009 08:58:34 +0000 (09:58 +0100)
committerAlexander Larsson <alexl@redhat.com>
Mon, 7 Dec 2009 09:49:57 +0000 (10:49 +0100)
commit48fc0f36c28fb0317a3433bafbe7bf8ae8a01171
tree922da3d3b7176d36226ed40a3cde79101961ae1d
parent3ea51bfec0a70bd388d0808c36721065163e3fbf
Fix mouse pointer handling on multiple screens

The fix in 786b589d95077b465dcc2311ff2489ee7bb9a49f for the
"Cannot click buttons more than once without moving the mouse cursor"
did not correctly handle setups with multiple screens in one display.

We need to handle the case where the first XQueryPointer returns
a different root window than the default one.

This fixes bug 597386 (agaion)
gdk/x11/gdkwindow-x11.c